package com.onetime.mall.trading.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.onetime.mall.trading.entity.AdminEntity;
import com.onetime.mall.trading.utils.PageUtils;

import java.util.Map;

/**
 * 管理员表
 *
 * @author liyixuan
 * @email liyixuan106@163.com
 * @date 2022-03-26 19:38:29
 */
public interface AdminService extends IService<AdminEntity> {

    PageUtils queryPage(Map<String, Object> params);

    boolean addAdmin(AdminEntity adminEntity);

    AdminEntity login(String accountNumber, String adminPassword);
}

